package games;

public class Jail extends Square{

    public Jail(String n){
        super(n);
    }
    @Override
    public void onSquare(Player p) {
        super.onSquare(p);
        p.setInjail(true);
    }


}
